package com.molichuxing.gateway.bff.permission.entity.response;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 登录日志vo
 *
 * @Author zoumingyu
 * @Date 2020年03月31日
 */
@Data
public class AccountLoginLogVo implements Serializable {
    private static final long serialVersionUID = -4268121512097932368L;

    @ApiModelProperty(value = "id")
    private Integer id;

    @ApiModelProperty(value = "账户id")
    private Integer accountId;

    @ApiModelProperty(value = "账户名称")
    private String accountName;

    @ApiModelProperty(value = "角色id")
    private Integer groupId;

    @ApiModelProperty(value = "角色名称")
    private String groupName;

    @ApiModelProperty(value = "浏览器")
    private String browser;

    @ApiModelProperty(value = "IP地址")
    private String ipAddress;

    @ApiModelProperty(value = "登陆地区")
    private String loginAddress;

    @ApiModelProperty(value = "登录时间")
    private LocalDateTime loginTime;

    @ApiModelProperty(value = "结果（0：失败，1：成功）")
    private Boolean result;

    @ApiModelProperty(value = "结果")
    private String resultStr;

    @ApiModelProperty(value = "结果说明")
    private String resultExplain;
}
